import Home from '../../views/Home/Home.vue'
import Classic from '../../views/Home/classicmovies'
import Hotplay from '../../views/Home/hotplay'
import Movie from '../../views/Home/movie'
import Waitplay from '../../views/Home/waitplay'
export default [{
  path: '/',
  redirect: '/home/hotplay'
},
{
  path: '/home',
  component: Home,
  redirect: '/home/hotplay',
  meta: {
    title: '猫眼电影',
    isShow: true,
    index: 0,
    isHead: true
  },
  children: [
    {
      name: '热映',
      path: 'hotplay',
      component: Hotplay,
      meta: {
        title: '猫眼电影',
        isShow: true,
        erindex: 0,
        index: 0,
        isHead: true
      }
    },
    {
      name: '影院',
      path: 'movie',
      component: Movie,
      meta: {
        title: '猫眼电影',
        isShow: true,
        erindex: 1,
        index: 0,
        isHead: true
      }
    },
    {
      name: '待映',
      path: 'waitplay',
      component: Waitplay,
      meta: {
        title: '猫眼电影',
        isShow: true,
        index: 0,
        erindex: 2,
        isHead: true
      }
    },
    {
      name: '经典电影',
      path: 'classic',
      component: Classic,
      meta: {
        title: '猫眼电影',
        isShow: true,
        erindex: 3,
        index: 0,
        isHead: true
      }
    },
    {
      name: '电影详情',
      path: '/home/detail/:id',
      component: () => import('../../views/Home/detail'),
      meta: {
        isHead: false
      }
    }
  ]
}

]
